(function (window, $, undefined) {
  'use strict';

  main(function () {

    $('#btn-cusPlus').click(function () {
      var oldQuality = parseInt($('#cusQuality').val());
      oldQuality++
      $("#cusQuality").val(oldQuality);
    })

    $('#btn-cusReduce').click(function () {
      var oldQuality = parseInt($('#cusQuality').val());
      oldQuality--
      $("#cusQuality").val(oldQuality);
    })

    $('#btn-drivPlus').click(function () {
      var oldQuality = parseInt($('#drivQuality').val());
      oldQuality++
      $("#drivQuality").val(oldQuality);
    })

    $('#btn-drivReduce').click(function () {
      var oldQuality = parseInt($('#drivQuality').val());
      oldQuality--
      $("#drivQuality").val(oldQuality);
    })


  });


})(window, jQuery);
